#include "MsgQueue.hpp"
#include "ResponOfChain.hpp"

int main(){
    Client Client;
    while(1){
        string sndbuffer;
        getline(cin, sndbuffer);//默认终止符是'\n'
        Client.MsgSnd(CLIENT_TYPE, sndbuffer);
        if(sndbuffer == "exit") break;
    }
    return 0;
}